﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Validation.Validators;

namespace DddCms.Application.Dto
{
    public class UserDto
    {
        public UserDto()
        {

        }
        
        public string Username { get; set; }
        
        public bool IsApproved { get; set; }
        
        public object ProviderUserKey { get; set; }

        [StringLengthValidator(0, 20, Ruleset="Create")]
        public string Password { get; set; }
        
        public string ConfirmPassword { get; set; }
        
        public string Email { get; set; }
        
        public string PasswordQuestion { get; set; }
        
        public string PasswordAnswer { get; set; }
        

    }
}
